package com.inspur_video.inspur_video.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 小浩
 * @date 2018-07-25 13:35
 * @package com.inspur_video.inspur_video.bean
 * @description
 */
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "members")
@Data
public class Member {
    /**
     * 用户id
     */
    @Id
    private int uId;
    /**
     * 会员等级（0：不是会员，1是会员）
     */
    private int mGrade;
    /**
     * 会员开始时间
     */
    private String beginTime;
    /**
     * 会员结束时间
     */
    private String endTime;
}
